﻿using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Steamrunner
{
    abstract class Screen : DrawableGameComponent
    {
        private SpriteBatch spritebatch = null;
        protected ScreenManager screenManager = null;
        protected InputManager inputManager = null;

        public SpriteBatch Spritebatch
        {
            get { return spritebatch; }
        }

        public Screen(ScreenManager screenManager, Game game)
            : base(game)
        {
            this.screenManager = screenManager;
            this.spritebatch = this.screenManager.SpriteBatch;
            this.inputManager = this.screenManager.InputManager;
        }

        public abstract string GetNextScreen();
    }
}
